﻿<%@ Page Language="C#" MasterPageFile="~/Default.master" AutoEventWireup="true" CodeFile="AddEditNews.aspx.cs" Inherits="admin_AddEditArticle" Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" Runat="Server">
    <asp:DetailsView ID="DetailsView1" runat="server" AutoGenerateRows="False" 
        DataSourceID="ObjectDataSource1" Height="50px" Width="125px">
        <Fields>
            <asp:BoundField DataField="Title" HeaderText="Title" SortExpression="Title" />
            <asp:BoundField DataField="AuthorID" HeaderText="AuthorID" 
                SortExpression="AuthorID" />
            <asp:BoundField DataField="Date" HeaderText="Date" SortExpression="Date" />
            <asp:BoundField DataField="Content" HeaderText="Content" 
                SortExpression="Content" />
            <asp:BoundField DataField="ID" HeaderText="ID" SortExpression="ID" />
        </Fields>
    </asp:DetailsView>
    <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" SelectMethod="GetNews" 
        TypeName="efish.Framework.Service.NewsService">
    </asp:ObjectDataSource>
</asp:Content>

